home *** CD-ROM | disk | FTP | other *** search
/ Deutsche Edition 1 / Deutsche Edition 1.iso / time / time_31-40 / time_36 / multi_player / example < prev    next >
Text File  |  1993-11-04  |  2KB  |  72 lines

  1. ; #########################################################
  2. ; # This an example of the use of cmd_player from the cli #
  3. ; #########################################################
  4.  
  5. copy    c:echo                           ram:
  6. copy    TIME_36:Multi_Player/cmd_player  ram:
  7. copy    c:wait                           ram:
  8. path ram: ADD
  9. cd
  10.  
  11. echo    "Now I'll show a little demonstartion of the possibilities of multi_player,"
  12. echo    "using the cli!"
  13. echo    "First,I'll simply start a song....listen"
  14.  
  15. ;
  16. ; # I start the player for the first time, giving him a song! #
  17. ;
  18. multi_player -w modules/demosong1
  19.  
  20. echo    "Now i'll wait a little..."
  21. wait    10
  22.  
  23. echo    "I can stop the song!"
  24.  
  25. cmd_player      Quit
  26.  
  27. echo    "I'll just start the multi_player now, without playing any song"
  28.  
  29. multi_player -w
  30.  
  31. echo    "Now, we'll tell him to play a song!"
  32.  
  33. cmd_player      "Play modules/mdat.alcatraz1-2"
  34. cmd_player      "Select 2"
  35.  
  36. echo    "The song will now be loaded!...It's a little jingle"
  37. echo
  38. echo    "But I'll also can change the tune used, if this is a TFMX song,"
  39. echo    "with the 'Select' command!"
  40. echo
  41.  
  42. cmd_player      "Select 1"
  43.  
  44. echo
  45. wait    5
  46. echo    "I can also stop the song, with command 'Stop'"
  47.  
  48. cmd_player      "Stop"
  49.  
  50. echo
  51. wait    5
  52. echo    "Of course, I can start again the song, with the command....'Start'"
  53. echo
  54.  
  55. cmd_player      "Start"
  56.  
  57.  
  58. echo
  59. wait    15
  60. echo    "Now, I'll exit the player! Don't forget to look at the read me file"
  61. echo    "and don't forget that you can use AREXX too! I can't put AREXX on  "
  62. echo    "this disk because it's not a public domain programm, but you can "
  63. echo    "find an example on this disk named play.rexx"
  64. cmd_player      "Quit"
  65. echo
  66.  
  67. delete ram:cmd_player
  68. delete ram:echo
  69. delete ram:wait
  70. wait 4
  71.  
  72.